list_03 = []
for i in range(1, 11):
    list_03.append(i ** 2)
print(list_03)
# map
list_01 = list(map(lambda x: x ** 2, range(1, 11)))
print(list_01)
#
list_02 = [x ** 2 for x in range(1, 11)]
print(list_02)
#
list_04 = [(x, y) for x in [1, 2, 3] for y in [4, 5, 6] if x != y]
print(list_04)
list_05 = [
    [1, 2, 3, 4],
    [5, 6, 7, 8],
    [9, 10, 11, 12]
]
list_06 = [[row[i] for row in list_05] for i in range(4)]
print(list_06)

list_07 = []
for i in range(4):
    res = []
    for row in list_05:
        res.append(row[i])
    list_07.append(res)
print(list_07)
